//
//  CatagoryModel.h
//  Kugou-OC
//
//  Created by BH on 16/6/14.
//  Copyright © 2016年 Sunny. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CatagoryChildrenModel : NSObject

@property(nonatomic,strong)NSString *childrenID;
@property(nonatomic,strong)NSString *childrenName;
@property(nonatomic,strong)NSString *song_tag_id;
@property(nonatomic,strong)NSString *special_tag_id;
@property(nonatomic,strong)NSString *album_tag_id;
@property(nonatomic,strong)NSString *imgurl;
@property(nonatomic,strong)NSString *bannerurl;
@property(nonatomic,strong)NSString *icon;
@property(nonatomic,strong)NSString *jump_url;
@property(nonatomic,assign)BOOL is_new;
@property(nonatomic,assign)BOOL is_hot;
@property(nonatomic,assign)BOOL has_child;

-(id)initWithDict:(NSDictionary *)dict;

@end

@interface CatagoryModel : NSObject

@property(nonatomic,strong)NSString *catagoryID;
@property(nonatomic,strong)NSString *catagoryName;
@property(nonatomic,strong)NSString *iconUrl;
@property(nonatomic,assign)BOOL has_child;
@property(nonatomic,strong)NSMutableArray *childrens;
@property(nonatomic,strong)CatagoryChildrenModel *children;

-(id)initWithDict:(NSDictionary *)dict;

@end
